package com.boardgame.gwt.service.operate.action.platcard;

import java.util.regex.Pattern;

import com.boardgame.gwt.finalinfo.CattleCardFinal;
import com.boardgame.gwt.finalinfo.SyntaxMatchFinal;

/**
 * 黑色卡牌
 */
public class PlayYellowCard10CoinAction extends PlayCardAction {
    @Override
    protected int getGainCoin() {
        return 10;
    }

    @Override
    protected String getCardColor() {
        return CattleCardFinal.YELLOW;
    }

    @Override
    public Pattern getPattern() {
        return Pattern.compile(SyntaxMatchFinal.PLAY_YELLOW_Card_10_COIN_ACTION);
    }
    public static PlayYellowCard10CoinAction create(){
        return new PlayYellowCard10CoinAction();
    }
}
